<?php
	class SelectQuery{
		private static $executeQuery;

		function __construct($tableName, $filter){
                        $sql = "select * from " . $tableName . " " . $filter;
			$this->executeQuery = mysql_query($sql);
		}

		function getRecordCount(){
			return mysql_num_rows($this->executeQuery);
		}

		function getRecordStringParameter(){
			return mysql_fetch_array($this->executeQuery);
		}
	}
?>